Claude/add trading indicators q kvq q#2
Merged
Conversation
… quant tooling - src/pine/quant-research.js: Sharpe/Sortino/Calmar/Omega/IR, VaR/CVaR, Hurst exponent, half-life, autocorrelation, rolling beta/correlation, EWMA + Garman-Klass volatility, Kelly/vol-target/fixed-fractional sizing, risk-parity + min-variance portfolios, Monte Carlo bootstrap, regime classifier, and full performance tearsheet with grading. - src/pine/oakscript.js: 14 new indicators in taCore + Series wrappers: OBV, AD, CMF, EFI, PVT, Vortex, TRIX, DEMA, TEMA, KAMA, ZLEMA, Fisher Transform, Connors RSI, Choppiness, Schaff Trend Cycle. - src/tv/quant-report.js: one-shot quantReport() and quantScan() that pull live OHLCV from the active TradingView chart and return a full institutional tearsheet (perf + regime + structure + risk + indicators + Monte Carlo), replacing 10+ tool calls. - src/pine/templates.js: 6 new Pine v6 templates — quant_tearsheet, zscore_mean_reversion, pairs_trading, hurst_regime, vol_targeted_position, garch_volatility (EWMA). - tests/quant-research.test.js: 25 new unit tests, all passing.
- src/pine/analyzer.js: defer mcp/client.js import (and its transitive chrome-remote-interface load) to inside developScript() so that analyzeStatic / generateTemplate / lint paths work without browser deps installed. Resolves analyzer.test.js ERR_MODULE_NOT_FOUND. - package.json: extend test glob to include src/**/__tests__/*.test.js so the 24 agent / context-manager tests run with npm test. - package-lock.json: npm audit fix — resolves 7 advisories (1 critical protobufjs RCE, 1 high fast-uri path traversal, 5 moderate hono/etc). - Test count: 25 passing + 1 failing → 59 passing + 0 failing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.